package com.vertx.core;

import io.vertx.core.Vertx;

/**
 * @version v1.0
 * @Description: TODO(一句话描述该类的功能)
 * @Author: TongRui乀
 * @Date: 2021/5/7 3:46 下午
 */
public class DeployEventBus {

    public static void main(String[] args) {

        Vertx vertx = Vertx.vertx();

        vertx.deployVerticle(new HelloEventBusPublisher());

        vertx.deployVerticle(new HelloEventBusConsumer());

    }

}
